{% load static %}
    <section class="widget post-right-item">
        <h4 class="post-right-title">热门推荐</h4>


        <ul class="post-hot clearfix">
            {% for r in remen %}
            <li>
                <div class="img">

                    <a href="{% url 'index' %}show-{{ r.id }}.html"
                       title="{{ r.title }}"><img
                            src="{% url 'index' %}media/{{ r.img }}"
                            srcset="{% url 'index' %}media/{{ r.img }}"
                            alt="{{ r.title }}" class="wp-post-image" width="120"
                            height="80"/></a>

                </div>
                <a href="{% url 'index' %}show-{{ r.id }}.html" title="{{ r.title }}"
                   target="_blank" class="title">{{ r.title }}</a>
            </li>
            {% endfor %}

        </ul>
    </section>
    </section>
    <section class="widget post-right-item"><h4 class="post-right-title">所有标签</h4>
        <div class="tags">
            {% for t in tags %}
            <a href="{% url 'index' %}tag/{{ t.name }}">{{ t.name }}</a>
            {% endfor %}
        </div>
    </section>
    </section><!-- /关注我们 -->
    <div class="post-right-item">
        <h4 class="post-right-title">关注我们</h4>
        <div class="wid-about">
            <p>拓普Python学院，欢迎关注！</p>
            <img src="{% static '/picture/weixinqr.jpg'%}" width="160" height="160">
        </div>
        <div class="wid-about">
            <p><strong>联系方式:</strong></p>
            <p>QQ:445813</p>
            <p>Email：445813@qq.com</p>
        </div>
    </div>

